package cn.tedu.mall.order;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"cn.tedu.mall.order.mappers"})
@ComponentScan(basePackages = {
        "cn.tedu.mall.order",
        "cn.tedu.mall.common.exception.handler",
        "cn.tedu.mall.common.utils"
})
@EnableDubbo
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

}
